/**
 * 
 */
package os.filesystem.file;

/**
 *
 * @author Raghav Sidhanti
 * @since Mar 6, 2012 10:19:11 AM
 *
 */
public class FlatFile extends File {

	public static final String TYPE = "FLAT_FILE";
	private static final long serialVersionUID = -1431431753764415696L;

	public FlatFile(String name, String creator) {
		super(name, creator);
	}
	
	private String data;
	
	public String getData(){
		return data;
	}
	
	public void addData(String data){
		this.data = data;
	}

	/* (non-Javadoc)
	 * @see os.filesystem.file.File#getType()
	 */
	@Override
	public String getType() {
		return TYPE;
	}
}
